package io.renren.modules.avanotes.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 参考资料库表
 *
 * @author zzr
 * @email 529742454@qq.com
 * @date 2022-02-21 12:46:54
 */
@Data
@TableName("reference_bank")
public class ReferenceBankEntity implements Serializable {
    private static final long serialVersionUID = 1L;


    public static String CN_ID = "id";
    public static String CN_NAME = "name";
    public static String CN_DIGEST = "digest";
    public static String CN_TYPE = "type";
    public static String CN_SOURCE = "source";
    public static String CN_CREATE_TIME = "create_time";

    /**
     * 库id
     */
    @TableId
    private Integer id;
    /**
     * 库名称
     */
    private String name;
    /**
     * 摘要
     */
    private String digest;
    /**
     * 资料库类型（1-Java互联网）
     */
    private Integer type;
    /**
     * 库来源
     */
    private String source;
    /**
     * 创建时间
     */
    private Date createTime;

}
